let arr = [9, 22, 34, 135, 6]
// InsertionSort is used for arrays which length <= 22
// Quicksort is used for arrays which length > 22
arr.sort((a, b) => {
  console.log(b + ',' + a)
  // return a - b
})
console.log(arr)